package io.renren.modules.nuaa.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.common.utils.DateUtils;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* 前台用户表
*
* @author whc 15953295779@126.com
* @since 3.0 2023-10-31
*/
@Data
@ApiModel(value = "前台用户表")
public class TUserDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    @ApiModelProperty(value = "openId")
    private String openid;
    @ApiModelProperty(value = "电话")
    private String phone;
    @ApiModelProperty(value = "真实姓名")
    private String realName;
    @ApiModelProperty(value = "身份证")
    private String idCard;
    @ApiModelProperty(value = "学校/组织/公司")
    private String company;
    @ApiModelProperty(value = "头像")
    private String header;
    private String sex;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date createDate;

}